package com.atguigu.java21_01_21;

import org.junit.Test;

public class WrapperTest2 {

	@Test
	public void method1() {
		Integer i = new Integer(1);
		Integer j = new Integer(1);
		System.out.println(i == j);// false

		Integer m = 1;
		Integer n = 1;
		System.out.println(m == n);// true

		Integer x = 128;
		Integer y = 128;
		System.out.println(x == y);// fasle
	}
}
